const User = require('../modal/User');
const Menu = require('../modal/Menu');
const Sequelize = require('sequelize');
module.exports = {
    userInfo: (param) => User.findAll({where: param}),
    menuList: () => Menu.findAll({where: { fEnable: 1 },order: Sequelize.col('fSort')})
}

